package com.guapi.schedule.taskCenter;

import org.springframework.stereotype.Component;

@Component
public class ScheduleTaskDemo {
    public void taskWithParams(String params) {
        System.out.println("执行带参数的定时任务" + params);
    }

    public void taskWithParams(String params, String params1) {
        System.out.println("执行多参数的定时任务" + params + "====" + params1);
    }

    public void taskWithParams() {
        System.out.println("执行无参数的定时任务");
    }
}
